package jheej5024.oop;

public class J31_RetangleService implements J31_RetangleInterface {

	@Override
	public float getArea(J31_RetangleVO r) {
		return (r.getWidth() * r.getHeight());
	}

	@Override
	public float getPerimeter(J31_RetangleVO r) {
		return 2 * (r.getWidth() + r.getHeight());
	}


	

}
